package com.tron.dobest.resttemplate;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;


@Data
public class RestTestData {
    private String name;
    private Integer age;
    private boolean marry;
    private String[] friends;
    private List data;
    /**
     * 配置类中指定日期转换格式
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date time;
    /**
     * 配置类中指定日期转换格式
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime localDateTime;
}
